<script setup lang="ts">
import { computed, ref } from 'vue';
import VuePdfEmbed from 'vue-pdf-embed'

const props = defineProps<{
  src:string
}>()
const fullSrc =  computed(()=> 'http://'+ window.location.hostname+':9000'+props.src)
</script>

<template>
  <div class="bc-pdf">
   <VuePdfEmbed   :source="fullSrc" />
  </div>
</template>
<style lang="scss" scoped>
.bc-pdf {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
</style>
